﻿.B0252-dialog{
    width: 100%;
    height: 100%;
    max-width: 350px;
}
.B0252-dialog .kmi-layout-main-content{
    padding-top: 0px;
}
.B0252-dialog .kmi-text-fields .label{
    width: 160px;
    margin-right: 10px;
}
.en_US .B0252-dialog .kmi-text-fields .label{
    width: 108px;
}
.B0252-dialog .kmi-text-fields .employee_no.red {
     border:1px #db4b3c solid;
}
.B0252-dialog .kmi-text-fields .employee_no.green {
     border:1px #68bd84 solid;
}

.B0252-dialog .kmi-text-fields .operator_no.red {
    border:1px #db4b3c solid;
}
.B0252-dialog .kmi-text-fields .operator_no.green {
    border:1px #68bd84 solid;
}

.B0252-dialog .equipment-status {
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
}

.B0252-dialog .btn-panel {
    display: flex;
    flex:0 0 44px;
    padding: 4px 0;
    position: relative;
}

.B0252-dialog .btn-panel .is-select {
    background: #db4c3d;
}
.B0252-dialog.isClose .btn-panel .mdl-button {
    display: none;
}

.B0252-dialog .btn-confirm {
    margin-left: 48px;
}
.B0252-dialog .content {
    padding: 0px;
}

.B0252-dialog .content-right {
    margin-left: 10%;
    display: flex;
    white-space: nowrap;
}

.B0252-dialog .content-row {
    display: flex;
    flex-direction: row;
    flex:1;
    overflow: hidden;
}
.B0252-dialog.isClose .content-row{
    transition: all .2s ease-in-out;
    flex: 0;
}
.B0252-dialog.isOpen .content-row{
    transition: all .2s ease-in-out;
    flex: 1;
}

.B0252-dialog .trigger-btn-fields{
    display: flex;
    padding: 2px 0px;
}
.B0252-dialog.isClose .trigger-btn-fields{
    position: absolute;
    bottom: 15px;
    z-index: 10;
}
.B0252-dialog .trigger-btn-fields .close-btn{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 28px;
    color: #1ab7cd;
}
.B0252-dialog .trigger-btn-fields .close-btn .open{
    display: none;
}
.B0252-dialog.isClose .trigger-btn-fields .close-btn .open{
    display: inherit;
}
.B0252-dialog.isClose .trigger-btn-fields .close-btn .close{
    display: none;
}

.B0252-dialog .content-column {
    display: flex;
    flex-direction: column;
    /*margin-top: 15px;*/
}

.B0252-dialog .image-report {
    background-color: #eaebeb;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    /*border-radius: 10px;*/
    border: 1px solid #cccccc;
    flex: 1;
    position: relative;
}

.B0252-dialog .detail-report {
    overflow: auto;
}

.B0252-dialog .detail-content {
    display: flex;
    background-color: white;
    align-items: center;
    margin-top: 5px;
    min-height: 27px;
    height: 5.5vh;
    border-radius: 10px;
}

.B0252-dialog .detail-header {
    padding: 5px;
    display: flex;
}

.B0252-dialog .confirm-btn {
    margin: 4px 4px 16px 4px;
    text-align: center;
    line-height: 36px;
    height: 36px;
    position: relative;
    background-color: #6570a8;
    width: 9vw;
    border-radius: 6px;
    cursor: pointer;
    color: white;
}

.B0252-dialog .cancel-btn {
    margin: 4px 4px 16px 4px;
    text-align: center;
    line-height: 36px;
    height: 36px;
    position: relative;
    background-color: #d4d3d3;
    width: 9vw;
    border-radius: 6px;
    cursor: pointer;
    color: #acadad;
}

.B0252-dialog .photo {
    margin-left: 0px;
    height: 100px;
    width: 100px;
    margin-top: 10px;
}
.B0252-dialog .pic-list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: auto;
    width: 100%;
    /*height: 100%;*/
    padding: 8px;
    box-sizing: border-box;
}
.B0252-dialog .pic-item{
    position: relative;
    width: 45%;
    height: 45%;
    margin: 2%;

    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color : rgba(0,0,0,0.38);
    overflow: hidden;
}
.B0252-dialog .pic-item-title{
    background-color : rgba(0,0,0,0.38);
    margin: 0px;
    top:0;
    left:0;
    position: absolute;
    height:40px;
    width: 100%;
    z-index:1;
}
.B0252-dialog .pic-img{
    width: 100%;
}
.B0252-dialog .pic-delete{
    position: absolute;
    top: 4px;
    right: 4px;
    color: white;
}
.B0252-dialog .pic-btn {
    position: absolute;
    bottom: 8px;
    left: 8px;
}
.B0252-dialog .pic-background{
     width: 100px;
     height: 75px;
     position: absolute;
     top:calc(50% - 37px);
     left:calc(50% - 50px);
}
.B0252-dialog .kmi-list.checkList .kmi-list__row{
    height: 68px;
}
.B0252-dialog .kmi-list.checkList .kmi-list__column.is-wrap{
    white-space:normal;
    max-height: 68px;
    overflow-wrap: break-word;
}
.B0252-dialog .kmi-list.checkList .kmi-list__column .pic{
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .2s ease-in-out;
}
.B0252-dialog .kmi-list.checkList .kmi-list__column .pic:hover{
    border: 1px solid #1ab7cd;
}
.B0252-dialog .switch-pages{
    display: flex;
    justify-content: flex-end;
    /* margin:0 0 7px 0; */
}
.B0252-dialog .open-check-item,
.B0252-dialog .open-upload-photo,
.B0252-dialog .open-bad-reasons{
    width: 100px;
    height: 32px;
    border-bottom: none;
    line-height: 32px;
    text-align: center;
    font-weight: 400;
    color: rgb(255,255,255);
    position: relative;
    display: flex;
    justify-content: center;
    margin: 4px 10px 0 0px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);

    background:#FFB037;
    border-radius:8px;
}
.B0252-dialog .page-dot{
    border-radius: 50%;
    width: 25px;
    height: 25px;
    background: white;
    margin: 4px;
    position: relative;
    color: #1ab7cd;
}
.B0252-dialog .page-dot label{
    position: absolute;
    top: -3px;
    left: 9px;
    font-size: 14px;
}

.B0252-dialog .page-select{
    opacity: 1;
}
